package org.wang.portal.param;

import java.util.Map;

public class ParameterValidator {
    public static boolean validate(Map<String, String> params) {
        // 简单示例：校验所有参数值不为空
        for (Map.Entry<String, String> entry : params.entrySet()) {
            if (entry.getValue() == null || entry.getValue().trim().isEmpty()) {
                return false;
            }
        }
        return true;
    }
}
